package tt.lab.designparttern.state;

public class StateB implements State {

	@Override
	public void switchContext(Context context) {
		System.out.println("StateB");
		System.out.println("Switching to State A");
		context.setState(new StateA());
	}

}
